/*
 * @Author: ZephyrGao
 * @Date: 2023-11-01 09:15:52
 * @Description: 
 * Copyright (c) 2023 by ZephyrGao, All Rights Reserved. 
 */
import 'package:flutter/material.dart';

const Color _backgroudColor = Color(0xfff8f8f8);
const Color _disabledColor = Color(0xfff8f8f8);
const Color _hoverColor = Color(0xfff8f8f8);
const Color _pressedColor = Color(0xfff8f8f8);
const Color _focusColor = Color(0xfff8f8f8);
const Color _highlightColor = Color(0xfff8f8f8);
// const Color _focusColor = Color(0xfff8f8f8);

abstract class CnBackgroundConfig {
  void addConfig(CnBackgroundConfig config);

  /// 按钮背景色
  late final Color? color;

  /// 按钮背景色
  late final Color? disabledColor;

  /// 按钮背景色
  late final Color? hoverColor;

  /// 按钮背景色
  late final Color? focusColor;

  /// 高亮色
  late final Color? highlightedColor;
}

class CnButtonBackgroundConfig extends CnBackgroundConfig {
  /// 按钮背景色
  // final Color? color;

  // /// 按钮背景色
  // final Color? disabledColor;

  // /// 按钮背景色
  // final Color? hoverColor;

  // /// 按钮背景色
  // final Color? pressedColor;

  // /// 按钮背景色
  // final Color? focusColor;

  // /// ga
  // final Color? highlightColor;

  // CnButtonBackgroundConfig(
  //   this.color,
  //   this.disabledColor,
  //   this.hoverColor,
  //   this.pressedColor,
  //   this.focusColor,
  //   this.highlightColor,

  // );

  @override
  void addConfig(CnBackgroundConfig config) {
    // TODO: implement addConfig
  }
}
